import React, { Component } from 'react'

import '../sass/index.scss'

export default class MyBtn extends Component {
  render() {


    const {
      text,
      onClick,
      disabled,
      style,
      className
    } = this.props


    return (
        <button className={'mybtn' + className} onClick={onClick} disabled={disabled} style={style}>
          {text}
        </button>
    )
  }
}
